package org.example.completed.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 云领养成功记录表
 * </p>
 *
 * @author ${author}
 * @since 2025-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("adoption_cloud_record")
public class AdoptionCloudRecordDO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 用户ID，关联用户表
     */
    private String userId;

    /**
     * 宠物ID，关联宠物表
     */
    private String petId;

    /**
     * 新起动物名字
     */
    private String newName;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String userAcoount; // 用户名

    private String avatarUrl;     // 头像

    private String petName;

}
